package com.hht.wblib.bean;

public enum CorporationType {
    HHT(0), IST(1), LG(2), OPTOMA(3);

    private final int value;

    CorporationType(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    // 可选：根据整数值获取对应的枚举成员
    public static CorporationType fromValue(int value) {
        for (CorporationType type : values()) {
            if (type.getValue() == value) {
                return type;
            }
        }
        throw new IllegalArgumentException("Unknown integer value for enum CorporationType: " + value);
    }

}
